//
//  FBMedical_Prompt.m
//  FBMedical
//
//  Created by 马乾征 on 2017/10/10.
//  Copyright © 2017年 YJ XML. All rights reserved.
//

#import "FBPrompt.h"
#import "FBMessageHUD.h"
@implementation FBPrompt

+ (void)promptWithMessage:(NSString *)message {
    [self promptWithMessage:message image:[UIImage imageNamed:@"BTPrompt_success"]];
}

+ (void)promptWithMessage:(NSString *)message image:(UIImage *)image {
    [FBMessageHUD showMessageWithImage:image text:message];
}

+ (void)successPrompt {
    [self successPromptWithMessage:@"成功"];
}

+ (void)successPromptWithMessage:(NSString *)message {
    [FBMessageHUD showMessageWithImage:[UIImage imageNamed:@"BTPrompt_success"] text:message];
}

+ (void)failedPrompt {
    [self failedPromptWithMessage:@"失败"];
}

+ (void)failedPromptWithMessage:(NSString *)message {
    [FBMessageHUD showMessageWithImage:[UIImage imageNamed:@"BTPrompt_success"] text:message];
}
@end
